package com.hns.can.service.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

import com.hns.can.common.entity.BaseEntity;

/**
 * TCommLineDeviationAlm entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_COMM_LINE_DEVIATION_ALM")
public class CommLineDeviationAlmEntity extends BaseEntity {
    
    private String     rcrdId;
    private String     corpId;
    private String     organId;
    private String     lineId;
    private String     carId;
    private String     drvId;
    private String     rcrdTime;
    private String     rcrdJrnlNo;
    private String     eqmtCode;
    private String     licPltNo;
    private String     lineCode;
    private String     beginTime;
    private String     endTime;
    private String     upDn;
    private String     prvsStnNo;
    private String     nextStnNo;
    private BigDecimal     beginLoLgt;
    private BigDecimal     beginLoLtt;
    private BigDecimal beginLoDrc;
    private BigDecimal     endLoLgt;
    private BigDecimal     endLoLtt;
    private BigDecimal endLoDrc;
    private String     igniSwtc;
    private BigDecimal gpsSpdOfMotVhi;
    private BigDecimal canSpeed;
    private Timestamp  genTime;
    private String     oprtType;
    
    private BigDecimal cnt;
    private String drvName;
    private String lineName;
    private String provinceId;
    private String provinceName;
    private String cityId;
    private String cityName;
    private String     prvsStnName;
    private String     nextStnName;
    @Transient
    private String afterUpDn;
    // Constructors
    
    /** default constructor */
    public CommLineDeviationAlmEntity() {
    }
    
    /** minimal constructor */
    public CommLineDeviationAlmEntity(String corpId) {
        this.corpId = corpId;
    }
    
    
    @Id
    @Column(name = "RCRD_ID")
    public String getRcrdId() {
        return this.rcrdId;
    }
    
    public void setRcrdId(String rcrdId) {
        this.rcrdId = rcrdId;
    }
    
    @Column(name = "CORP_ID",
            nullable = false,
            length = 32)
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    @Column(name = "ORGAN_ID",
            length = 32)
    public String getOrganId() {
        return this.organId;
    }
    
    public void setOrganId(String organId) {
        this.organId = organId;
    }
    
    @Column(name = "LINE_ID",
            length = 32)
    public String getLineId() {
        return this.lineId;
    }
    
    public void setLineId(String lineId) {
        this.lineId = lineId;
    }
    
    @Column(name = "CAR_ID",
            length = 32)
    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    @Column(name = "DRV_ID",
            length = 32)
    public String getDrvId() {
        return this.drvId;
    }
    
    public void setDrvId(String drvId) {
        this.drvId = drvId;
    }
    
    @Column(name = "RCRD_TIME",
            length = 19)
    public String getRcrdTime() {
        return this.rcrdTime;
    }
    
    public void setRcrdTime(String rcrdTime) {
        this.rcrdTime = rcrdTime;
    }
    
    @Column(name = "RCRD_JRNL_NO",
            length = 6)
    public String getRcrdJrnlNo() {
        return this.rcrdJrnlNo;
    }
    
    public void setRcrdJrnlNo(String rcrdJrnlNo) {
        this.rcrdJrnlNo = rcrdJrnlNo;
    }
    
    @Column(name = "EQMT_CODE",
            length = 20)
    public String getEqmtCode() {
        return this.eqmtCode;
    }
    
    public void setEqmtCode(String eqmtCode) {
        this.eqmtCode = eqmtCode;
    }
    
    @Column(name = "LIC_PLT_NO",
            length = 10)
    public String getLicPltNo() {
        return this.licPltNo;
    }
    
    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }
    
    @Column(name = "LINE_CODE",
            length = 8)
    public String getLineCode() {
        return this.lineCode;
    }
    
    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }
    
    @Column(name = "BEGIN_TIME",
            length = 19)
    public String getBeginTime() {
        return this.beginTime;
    }
    
    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }
    
    @Column(name = "END_TIME",
            length = 19)
    public String getEndTime() {
        return this.endTime;
    }
    
    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
    
    @Column(name = "UP_DN",
            length = 1)
    public String getUpDn() {
        return this.upDn;
    }
    
    public void setUpDn(String upDn) {
        this.upDn = upDn;
    }
    
    @Column(name = "PRVS_STN_NO",
            length = 8)
    public String getPrvsStnNo() {
        return this.prvsStnNo;
    }
    
    public void setPrvsStnNo(String prvsStnNo) {
        this.prvsStnNo = prvsStnNo;
    }
    
    @Column(name = "NEXT_STN_NO",
            length = 8)
    public String getNextStnNo() {
        return this.nextStnNo;
    }
    
    public void setNextStnNo(String nextStnNo) {
        this.nextStnNo = nextStnNo;
    }
    
    @Column(name = "BEGIN_LO_LGT",
            precision = 10,
            scale = 6)
    public BigDecimal getBeginLoLgt() {
        return this.beginLoLgt;
    }
    
    public void setBeginLoLgt(BigDecimal beginLoLgt) {
        this.beginLoLgt = beginLoLgt;
    }
    
    @Column(name = "BEGIN_LO_LTT",
            precision = 10,
            scale = 6)
    public BigDecimal getBeginLoLtt() {
        return this.beginLoLtt;
    }
    
    public void setBeginLoLtt(BigDecimal beginLoLtt) {
        this.beginLoLtt = beginLoLtt;
    }
    
    @Column(name = "BEGIN_LO_DRC",
            precision = 22,
            scale = 0)
    public BigDecimal getBeginLoDrc() {
        return this.beginLoDrc;
    }
    
    public void setBeginLoDrc(BigDecimal beginLoDrc) {
        this.beginLoDrc = beginLoDrc;
    }
    
    @Column(name = "END_LO_LGT",
            precision = 10,
            scale = 6)
    public BigDecimal getEndLoLgt() {
        return this.endLoLgt;
    }
    
    public void setEndLoLgt(BigDecimal endLoLgt) {
        this.endLoLgt = endLoLgt;
    }
    
    @Column(name = "END_LO_LTT",
            precision = 10,
            scale = 6)
    public BigDecimal getEndLoLtt() {
        return this.endLoLtt;
    }
    
    public void setEndLoLtt(BigDecimal endLoLtt) {
        this.endLoLtt = endLoLtt;
    }
    
    @Column(name = "END_LO_DRC",
            precision = 22,
            scale = 0)
    public BigDecimal getEndLoDrc() {
        return this.endLoDrc;
    }
    
    public void setEndLoDrc(BigDecimal endLoDrc) {
        this.endLoDrc = endLoDrc;
    }
    
    @Column(name = "IGNI_SWTC",
            length = 1)
    public String getIgniSwtc() {
        return this.igniSwtc;
    }
    
    public void setIgniSwtc(String igniSwtc) {
        this.igniSwtc = igniSwtc;
    }
    
    @Column(name = "GPS_SPD_OF_MOT_VHI",
            precision = 22,
            scale = 0)
    public BigDecimal getGpsSpdOfMotVhi() {
        return this.gpsSpdOfMotVhi;
    }
    
    public void setGpsSpdOfMotVhi(BigDecimal gpsSpdOfMotVhi) {
        this.gpsSpdOfMotVhi = gpsSpdOfMotVhi;
    }
    
    @Column(name = "CAN_SPEED",
            precision = 22,
            scale = 0)
    public BigDecimal getCanSpeed() {
        return this.canSpeed;
    }
    
    public void setCanSpeed(BigDecimal canSpeed) {
        this.canSpeed = canSpeed;
    }
    
    @Column(name = "GEN_TIME",
            length = 7)
    public Timestamp getGenTime() {
        return this.genTime;
    }
    
    public void setGenTime(Timestamp genTime) {
        this.genTime = genTime;
    }
    
    @Column(name = "OPRT_TYPE",
            length = 1)
    public String getOprtType() {
        return this.oprtType;
    }
    
    public void setOprtType(String oprtType) {
        this.oprtType = oprtType;
    }

    @Transient
    public BigDecimal getCnt() {
        return cnt;
    }

    public void setCnt(BigDecimal cnt) {
        this.cnt = cnt;
    }

    @Transient
    public String getDrvName() {
        return drvName;
    }

    public void setDrvName(String drvName) {
        this.drvName = drvName;
    }

    @Transient
    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    @Transient
    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    @Transient
    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    @Transient
    public String getPrvsStnName() {
        return prvsStnName;
    }

    public void setPrvsStnName(String prvsStnName) {
        this.prvsStnName = prvsStnName;
    }

    @Transient
    public String getNextStnName() {
        return nextStnName;
    }

    public void setNextStnName(String nextStnName) {
        this.nextStnName = nextStnName;
    }

    @Transient
    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    @Transient
    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getAfterUpDn() {
        return afterUpDn;
    }

    public void setAfterUpDn(String afterUpDn) {
        this.afterUpDn = afterUpDn;
    }


}
